package com.lagou.service;

import com.lagou.domain.Employee;
import com.lagou.domain.dept;

import java.util.List;

public interface EmployeeService {
    //查询所有员工
    public List<Employee> findAll();
    //新增员工
    void save(Employee employee);
    //根据id查询员工
    Employee findById(Integer id);
    //查询所有部门
    public List<dept> findDept();
}
